package com.itwn.bean;

import java.io.Serializable;

/**
 * @Description:
 * @ClassName: Permissions
 * @Author: 流光亦断
 * @Date: 2021/8/20 14:06
 * @Version: 1.0     // 版本
 */
public class Permissions implements Serializable {
    private Integer id;
    private String permissionsName;
    private Roles roles;

    public Roles getRoles() {
        return roles;
    }

    public void setRoles(Roles roles) {
        this.roles = roles;
    }

    public Permissions() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPermissionsName() {
        return permissionsName;
    }

    public void setPermissionsName(String permissionsName) {
        this.permissionsName = permissionsName;
    }

    @Override
    public String toString() {
        return "Permissions{" +
                "id=" + id +
                ", permissionsName='" + permissionsName + '\'' +
                ", roles=" + roles +
                '}';
    }
}
